import Layout from '@/layout'

const memberRouter = {
  path: '/cards',
  component: Layout,
  redirect: '/cards/card',
  name: 'Cards',
  meta: {
    title: '会员卡管理',
  },
  children: [
    {
      path: 'card',
      component: () => import('@/views/cards/card'),
      name: 'Card',
      meta: { title: '会员卡制作' },
    },
    // {
    //   path: 'retailer_card',
    //   component: () => import('@/views/cards/retailer-card'),
    //   name: 'RetailerCard',
    //   meta: { title: '商家会员卡' },
    // },
    // {
    //   path: 'retailer_card',
    //   component: () => import('@/views/cards/retailer-card'),
    //   name: 'RetailerCard',
    //   meta: { title: '商家会员卡' },
    // },
    // {
    //   path: 'card_deposit',
    //   component: () => import('@/views/cards/card-deposit'),
    //   name: 'CardDeposit',
    //   meta: { title: '会员卡购买记录' },
    // },
    // {
    //   path: 'gift_card',
    //   component: () => import('@/views/cards/gift-card'),
    //   name: 'GiftCard',
    //   meta: { title: '会员卡赠送记录' },
    // },
    {
      path: 'sample_card',
      component: () => import('@/views/cards/sample-card'),
      name: 'SampleCard',
      meta: { title: '客户品鉴卡信息' },
    },
    {
      path: 'client_sample_record',
      component: () => import('@/views/cards/client-sample-record'),
      name: 'ClientSampleRecord',
      meta: { title: '客户品鉴卡消费记录' },
    },
    {
      path: 'balance_bill',
      component: () => import('@/views/cards/balance_bill'),
      name: 'BalanceBill',
      meta: { title: '商家结算记录' },
    },
  ]


}

export default memberRouter